package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/8/23.
 */
@Entity
public class WashCoaltype implements Serializable {

    //1 入洗 2 洗出
    @Transient
    public static final Integer TYPE_IN = 1;
    @Transient
    public static final Integer TYPE_OUT = 2;
    private static final long serialVersionUID = -993700006090701563L;
    @Id
    private long id;
    @Property
    private Integer type;
    @Property
    private String coaltype;
    @Property
    private Integer coaltypeid;
    @Property
    private Float tonnage;
    @Property
    private Integer parentid;
    @Property
    private Date addtime;
    @Property
    private Integer adduserid;
    @Property
    private String addusername;
    public String getAddusername() {
        return this.addusername;
    }
    public void setAddusername(String addusername) {
        this.addusername = addusername;
    }
    public Integer getAdduserid() {
        return this.adduserid;
    }
    public void setAdduserid(Integer adduserid) {
        this.adduserid = adduserid;
    }
    public Date getAddtime() {
        return this.addtime;
    }
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }
    public Integer getParentid() {
        return this.parentid;
    }
    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }
    public Float getTonnage() {
        return this.tonnage;
    }
    public void setTonnage(Float tonnage) {
        this.tonnage = tonnage;
    }
    public Integer getCoaltypeid() {
        return this.coaltypeid;
    }
    public void setCoaltypeid(Integer coaltypeid) {
        this.coaltypeid = coaltypeid;
    }
    public String getCoaltype() {
        return this.coaltype;
    }
    public void setCoaltype(String coaltype) {
        this.coaltype = coaltype;
    }
    public Integer getType() {
        return this.type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 1356016280)
    public WashCoaltype(long id, Integer type, String coaltype, Integer coaltypeid,
            Float tonnage, Integer parentid, Date addtime, Integer adduserid,
            String addusername) {
        this.id = id;
        this.type = type;
        this.coaltype = coaltype;
        this.coaltypeid = coaltypeid;
        this.tonnage = tonnage;
        this.parentid = parentid;
        this.addtime = addtime;
        this.adduserid = adduserid;
        this.addusername = addusername;
    }
    @Generated(hash = 1530140096)
    public WashCoaltype() {
    }

}
